<head>

<link rel=STYLESHEET href="style1.css" type="text/css">

<meta http-equiv="Content-Type" content="text/html; charset={$smarty.const.DEFAULT_CHARSET}">
<title>{$page_title|default:"Shop-Script FREE shopping cart solution"}</title>

<meta name="Title" content="{$page_title|default:"Shop-Script FREE based shopping cart system"}">
<meta name="Description" content="{$page_meta|default:"powered by Shop-Script FREE shopping cart software"}">
<meta name="KeyWords" content="{$page_meta|default:"Shop-Script FREE shopping cart software"}">

<script>
<!--
{literal}
	function open_window(link,w,h) //opens new window
	{
		var win = "width="+w+",height="+h+",menubar=no,location=no,resizable=yes,scrollbars=yes";
		newWin = window.open(link,'newWin',win);
		newWin.focus();
	}

	function confirmDelete() //unsubscription confirmation
	{
		temp = window.confirm('{/literal}{$smarty.const.QUESTION_UNSUBSCRIBE}{literal}');
		if (temp) //delete
		{
			window.location="index.php?killuser=yes";
		}
	}

	function validate_custinfo() //validate customer information
	{
		if (document.custinfo_form.first_name.value=="" || document.custinfo_form.last_name.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_NAME}{literal}");
			return false;
		}
		if (document.custinfo_form.email.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_EMAIL}{literal}");
			return false;
		}
		if (document.custinfo_form.country.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_COUNTRY}{literal}");
			return false;
		}
		if (document.custinfo_form.state.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_STATE}{literal}");
			return false;
		}
		if (document.custinfo_form.zip.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_ZIP}{literal}");
			return false;
		}
		if (document.custinfo_form.city.value=="")
		{
			alert("{/literal}{$smarty.const.ERROR_INPUT_CITY}{literal}");
			return false;
		}


		return true;
	}
{/literal}
-->
</script>

</head>